
<div class="row">
	<fieldset>
	<span class="label">Fee Checker: Available Fees</span>
	<?if(isset($system_message))echo $system_message;?>
		<?php if(!empty($fees)):?>
			<div class="alert">Here are the available fees to add to current Student</div>
			<table class="data-table">
			<thead class="tabular-head">
				<th>Available Fees to add</th>
				<th>Fee Rates</th>
			</thead>
			<tbody class="tabular">
				<?echo form_open('fees/check_fees')?>
				<?foreach($fees as $key => $value):?>
					<tr>
						<td><input type="checkbox" name="fee[][<?=$value->fee_rate;?>]" value="<?=$value->fee_name;?>" checked> <?=$value->fee_name;?></td>
						<td><?=$value->fee_rate;?></td>
					</tr>
				<?endforeach;?>
					<tr>
						<td colspan="2">
						<input type="hidden" name="enrollment_id" value="<?php echo $e_id;?>">
						<input type="submit" class="btn btn-success" name="check_fee_add" value="Add Fee(s)">
						</td>
					<tr>
				</tbody>
			</table>
			<?else:?>
					<div class="error">
					<p>No Fees are Set for this Grade Level</p>
					<p><a href="<?php echo site_url('fees/add_fee_manually').'/'.$e_id.'/'.$authlink;?>" class="add confirm">Add Fees Manually</a></p>
					</div>
		<?endif;?>
		
</div>

